package 第七周.practice;
//Message.java   Author:Lewis/Loftus
//Demonstrates the use of an overhidden method.
public class Message {
    //Creates two objects and invokes the message method in each.
    public static void main(String []args){
        Thought parked = new Thought();
        Advice dates = new Advice();

        parked.message();
        dates.message();//overridden
    }
}

